#ifndef CLIENT_HPP
#define CLIENT_HPP

#include <QObject>
#include <QList>
#include <QFile>
#include <QtNetwork/QSslSocket>
#include <QtNetwork/QSslKey>
#include <QString>

// Client's GUI
#include "../../Kevin/testQML/test.hpp"
#include "../../Kevin/testQML/qmlapplicationviewer/qmlapplicationviewer.h"


class Client : public QObject
{
    Q_OBJECT

private:
    QSslSocket client;
    QString localCertificate;
    QString privateKey;

public:
    Client();
    Client(QString, quint16); // Address and port

    ~Client();

    void start(QString, quint16);

public slots:
    void connection();

};

#endif // CLIENT_HPP
